<!DOCTYPE html>
<html lang="en">

  <head>
   <include file ="Public/head"/> 
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
            <include file ="Public/left"/>
        </div>
        <!-- top navigation -->
            <include file ="Public/head1"/>
        <!-- /top navigation -->



        <!-- 各自的模块在下面 -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3>约健管理中心</h3>
              </div>
<form action="{:U('index.php/Admin/Comments/scomments')}" method="post" enctype="multipart/form-data">
              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text"  Name="comments_content" placeholder="请输入查询内容" required="class="form-control">
                      <button type="submit">Go!</button>
                  </div>
                </div>
              </div>
</form>
            </div>

            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>留言管理</h2>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <p class="text-muted font-13 m-b-30">
                     Exercise for an hour every day
                    </p>
                    <table id="datatable" class="table table-striped table-bordered">
                      <thead>
                        <tr>
                          <th>留言编号</th>
                          <th>留言内容</th>
                          <th>留言时间</th>
                          <th>用户编号</th>
                          <th>晒图编号</th>
                          <th><center>操作</center></th>
                        </tr>
                      </thead>


                      <tbody>
                    <volist name="comments" id="vo">
                        <tr>
                          <td>{$vo.comments_id}</td>
                          <td>{$vo.comments_content}</td>
                          <td>{$vo.comments_date}</td>
                          <td>{$vo.uid}</td>
                          <td>{$vo.shaitu_id}</td>
                          <td><a href="commentsdel/comments_id/{$vo['comments_id']}"> <center><button>删除</button></center> </td>
                        </tr>
                    </volist>
                      </tbody>
                    </table>
                  </div>
                </div>
              </div>
            </div>
          </div>
      </div>




    </div>
    </div>
    <include file ="Public/js"/>
  </body>
</html>